.class Lcom/waiqin365/lightapp/kaoqin/a/n;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kaoqin/c/a/b;

.field final synthetic b:Lcom/waiqin365/lightapp/kaoqin/a/m;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kaoqin/a/m;Lcom/waiqin365/lightapp/kaoqin/c/a/b;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->b:Lcom/waiqin365/lightapp/kaoqin/a/m;

    iput-object p2, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->a:Lcom/waiqin365/lightapp/kaoqin/c/a/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6

    const/4 v0, 0x0

    new-instance v3, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->b:Lcom/waiqin365/lightapp/kaoqin/a/m;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/a/m;->a(Lcom/waiqin365/lightapp/kaoqin/a/m;)Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripDetailActivity;

    invoke-direct {v3, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    move v1, v0

    move v2, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->b:Lcom/waiqin365/lightapp/kaoqin/a/m;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/a/m;->b(Lcom/waiqin365/lightapp/kaoqin/a/m;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->b:Lcom/waiqin365/lightapp/kaoqin/a/m;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/a/m;->b(Lcom/waiqin365/lightapp/kaoqin/a/m;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/a/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->c:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->b:Lcom/waiqin365/lightapp/kaoqin/a/m;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/a/m;->b(Lcom/waiqin365/lightapp/kaoqin/a/m;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->a:Lcom/waiqin365/lightapp/kaoqin/c/a/b;

    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->b:Lcom/waiqin365/lightapp/kaoqin/a/m;

    invoke-static {v5}, Lcom/waiqin365/lightapp/kaoqin/a/m;->b(Lcom/waiqin365/lightapp/kaoqin/a/m;)Ljava/util/ArrayList;

    move-result-object v5

    invoke-virtual {v5, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    if-ne v0, v5, :cond_0

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v2, v0, -0x1

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    const-string/jumbo v0, "exeLogsList"

    invoke-virtual {v3, v0, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "position"

    invoke-virtual {v3, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->b:Lcom/waiqin365/lightapp/kaoqin/a/m;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/a/m;->a(Lcom/waiqin365/lightapp/kaoqin/a/m;)Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/n;->b:Lcom/waiqin365/lightapp/kaoqin/a/m;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/a/m;->a(Lcom/waiqin365/lightapp/kaoqin/a/m;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    return-void
.end method
